export default function(processId, processName,category, description) {
// 	return `<?xml version="1.0" encoding="UTF-8"?>
// <bpmn2:definitions 
//   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
//   xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL"
//   xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
//   xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
//   xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
//   xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"
//   targetNamespace="${category}">
//   <bpmn2:process id="${processId}" name="${processName}" isExecutable="true">
//   </bpmn2:process>
//   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
//     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
//       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
//         <dc:Bounds height="36.0" width="36.0" x="160.0" y="160.0"/>
//       </bpmndi:BPMNShape>
//     </bpmndi:BPMNPlane>
//   </bpmndi:BPMNDiagram>
// </bpmn2:definitions>`;

	return `<?xml version="1.0" encoding="UTF-8"?>
	<definitions id="definitions"
	  targetNamespace="http://flowable.org/bpmn20"
	  xmlns:flowable="http://flowable.org/bpmn"
	  xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL">
  <process id="${processId}" name="${processName}">
	<documentation>${description}</documentation>
    <startEvent id="startNode1" name="开始" />
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="${processId}">
      <bpmndi:BPMNShape id="startNode1_di" bpmnElement="startNode1">
        <dc:Bounds x="172" y="182" width="36" height="36" />
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>
`
}
